/**
 * Copyright © Copyright Kevin Doyle 2012 Rhebogue Road,Limerick, Ireland.
 * Contact me at kfrdoyle@gmail.com
 * This software was created by me Kevin Doyle in 07/03/2012.
 * I made is available to the public on 07/03/2012.
 * You need my permission to use this software in a commercial context.
 * Although this code is hosted on google code I do not agree with the licensing policy
 * of google code. 
 */
package way_point_factory;

/**
 * @param heading Heading is the direction that an crafts nose is pointing, <BR>
 *  this is calculated from missile heading orthogonal to ship heading 90 degrees off.
 * @param altitude is the height above the water line that impact should occur.
 * @author Kevin Doyle
 */
public class FinalWP extends WayPoint {

    double heading;//Knowing the heading will allow calculation of ship side impact.
   
    final double altitude = 1;

    public FinalWP(String wpType) {
        type = wpType;
        source = "Exocet";
        category = "FinalWP";
    }

    public double getAltitude() {
        return altitude;
    }

    public void setHeading(double heading) {
        this.heading = heading;
    }

    public double getHeading() {
        return heading;
    }
}
